package cn.sc.summer.security;

import cn.sc.summer.constant.project.ProjectConstant;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableFeignClients(ProjectConstant.FEIGN_BASE_PACKAGE)
@ComponentScan(basePackages = ProjectConstant.BASE_PACKAGE)
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class})
public class SummerAuth {

    public static void main(String[] args) {
        SpringApplication.run(SummerAuth.class, args);
    }

}
